@media (min-width: 401px) {
    html {
        font-size: 18px;
    }
}

@media (max-width: 400px) {
    html {
        font-size: 16px;
    }
}

@media (max-width: 320px) {
    html {
        font-size: 14px;
    }
}

@font-face {
    font-family: 'hanyi';
    font-weight: normal;
    font-style: normal;
    src: url('font/HYLiLiangHeiJ.eot');
    src: url('font/HYLiLiangHeiJ.eot?70959024#iefix') format('embedded-opentype'), url('font/HYLiLiangHeiJ.woff?70959024') format('woff'), url('font/HYLiLiangHeiJ.ttf?70959024') format('truetype'), url('font/HYLiLiangHeiJ.svg?70959024#fontello') format('svg');
}

@font-face {
    font-family: 'zaozi';
    font-weight: normal;
    font-style: normal;
    src: url('font/zaozi.otf') format('opentype');
}

html {
    font-family: 'Microsoft Yahei', 'Helvetica Neue', Helvetica, sans-serif;
    height: 100%;
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
}

body {
    line-height: 1.5;
    overflow: hidden;
    width: 100%;
    height: 100%;
    margin: 0;
    -webkit-overflow-scrolling: touch;
}

article, aside, details, figcaption, figure, footer, header, hgroup, main, nav, section, summary {
    display: block;
}

a {
    text-decoration: none;
    background: transparent;
    -webkit-tap-highlight-color: transparent;
}

a:active {
    outline: 0;
}

a > img {
    display: block;
    width: 100%;
    height: auto;
}

* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

ul {
    padding-left: 0;
    list-style-type: none;
}

.wrap {
    position: relative;
    height: 100%;
    background-position: center;
    background-size: cover;
}

.begin-wrap {
    background-image: url(image/background.png);
}

.begin-test {
    position: absolute;
    bottom: 4.5rem;
    left: 50%;
    display: block;
    width: 12rem;
    margin-left: -6rem;
}

.quiz {
    position: absolute;
    z-index: 10;
    top: 0;
    left: 100%;
    width: 100%;
    height: 100%;
    background-image: url(image/quiz-bg.png);
    background-position: center;
    background-size: cover;
}

.quiz-wrap {
    width: 14.375rem;
    margin: 0 auto;
    margin-top: 15rem;
    text-align: center;
}

.quiz-problem {
    font-family: 'hanyi';
    font-size: 2rem;
    display: inline-block;
    color: #fff;
}

.quiz-button {
    display: inline-block;
    width: 12.375rem;
    height: 2.7rem;
    margin-top: 1.5rem;
    border-radius: 5px;
    background-color: #d9a6e1;
}

.button-text {
    font-family: 'zaozi';
    line-height: 2.7rem;
    color: #000;
}

.active {
    background-color: #a98bca;
}

.result {
    position: absolute;
    z-index: 10;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(image/result-bg.png);
    background-position: center;
    background-size: cover;
}

.anchor {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 2.2rem;
    height: 1.7rem;
}

.anchor > img {
    width: 100%;
    height: 100%;
}

.result-wrap {
    margin-top: 5.43rem;
    padding: 0 2.4375rem;
    text-align: center;
}

.result-wrap > span {
    display: inline-block;
}

.result-title {
    font-family: 'zaozi';
    font-size: 1.14rem;
    color: #ebc8d6;
}

.mom-type {
    font-family: 'hanyi';
    font-size: 2.44rem;
    margin-bottom: 5.94rem;
    color: #f57b89;
}

.mom-info {
    font-family: 'zaozi';
    font-size: 1.375rem;
    position: relative;
    color: #ebc8d6;
}

.triangle {
    position: absolute;
    top: -1.8rem;
    left: 0;
    width: 1rem;
    height: 0.8rem;
}

.triangle > img {
    width: 100%;
    height: 100%;
}

.copy-wright {
    font-family: 'zaozi';
    font-size: 1.1rem;
    line-height: 1.82rem;
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 1.82rem;
    text-align: center;
    color: #ebc8d6;
    background-color: #d0989c;
}
